/*
 * @Author: your name
 * @Date: 2022-03-03 14:14:01
 * @LastEditTime: 2022-03-03 14:16:57
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \day05\8-函数声明提升.js
 */
//函数提升
foo();

function foo(){
    console.log('hello world');
    return 1;   //写在return 后面的语句失效  return返回值
    console.log('aaaaaaa');
}
